export const CLIENT_EVENTS = {
	// Page
	PAGE_VISITED: "PAGE_VISITED",
	// Auth
	LOGIN: "USER_LOGIN",
	REGISTER: "USER_REGISTER",
	// Database config
	DB_CONFIG_ADD_SUCCESS: "DB_CONFIG_ADD_SUCCESS",
	DB_CONFIG_UPDATE_SUCCESS: "DB_CONFIG_UPDATE_SUCCESS",
	DB_CONFIG_ADD_FAILURE: "DB_CONFIG_ADD_FAILURE",
	DB_CONFIG_UPDATE_FAILURE: "DB_CONFIG_UPDATE_FAILURE",
	DB_CONFIG_LIST: "DB_CONFIG_LIST",
	DB_CONFIG_ACTION_CHANGE: "DB_CONFIG_ACTION_CHANGE",
	// Profile
	PROFILE_UPDATE_SUCCESS: "PROFILE_UPDATE_SUCCESS",
	PROFILE_UPDATE_FAILURE: "PROFILE_UPDATE_FAILURE",
	// API KEY
	API_KEY_ADD_SUCCESS: "API_KEY_ADD_SUCCESS",
	API_KEY_ADD_FAILURE: "API_KEY_ADD_FAILURE",
	// Prompt
	PROMPT_ADD_SUCCESS: "PROMPT_ADD_SUCCESS",
	PROMPT_ADD_FAILURE: "PROMPT_ADD_FAILURE",
	PROMPT_VERSION_ADD_SUCCESS: "PROMPT_VERSION_ADD_SUCCESS",
	PROMPT_VERSION_ADD_FAILURE: "PROMPT_VERSION_ADD_FAILURE",
	// Vault
	VAULT_SECRET_ADD_SUCCESS: "VAULT_SECRET_ADD_SUCCESS",
	VAULT_SECRET_UPDATE_SUCCESS: "VAULT_SECRET_UPDATE_SUCCESS",
	VAULT_SECRET_ADD_FAILURE: "VAULT_SECRET_ADD_FAILURE",
	VAULT_SECRET_UPDATE_FAILURE: "VAULT_SECRET_UPDATE_FAILURE",
	// Openground
	OPENGROUND_EVALUATION_SUCCESS: "OPENGROUND_EVALUATION_SUCCESS",
	OPENGROUND_EVALUATION_FAILURE: "OPENGROUND_EVALUATION_FAILURE",
	// Custom
	REFRESH_RATE_CHANGE: "REFRESH_RATE_CHANGE",
	TIME_FILTER_CHANGE: "TIME_FILTER_CHANGE",
	TRACE_FILTER_APPLIED: "TRACE_FILTER_APPLIED",
	TRACE_FILTER_CLEARED: "TRACE_FILTER_CLEARED",

	// Evaluation config
	EVALUATION_CONFIG_CREATED_SUCCESS: "EVALUATION_CONFIG_CREATED_SUCCESS",
	EVALUATION_CONFIG_UPDATED_SUCCESS: "EVALUATION_CONFIG_UPDATED_SUCCESS",
	EVALUATION_CONFIG_CREATED_FAILURE: "EVALUATION_CONFIG_CREATED_FAILURE",
	EVALUATION_CONFIG_UPDATED_FAILURE: "EVALUATION_CONFIG_UPDATED_FAILURE",

	// Custom dashboard
	DASHBOARD_VIEWED: "DASHBOARD_VIEWED",
	DASHBOARD_VIEW_FAILURE: "DASHBOARD_VIEW_FAILURE",
	DASHBOARD_WIDGET_ADDED: "DASHBOARD_WIDGET_ADDED",
	DASHBOARD_WIDGET_ADD_FAILURE: "DASHBOARD_WIDGET_ADD_FAILURE",
	DASHBOARD_WIDGET_RUN_QUERY: "DASHBOARD_WIDGET_RUN_QUERY",
	DASHBOARD_EXPLORER_LOADED: "DASHBOARD_EXPLORER_LOADED",
	DASHBOARD_EXPLORER_LOAD_FAILURE: "DASHBOARD_EXPLORER_LOAD_FAILURE",
	DASHBOARD_FOLDER_CREATED: "DASHBOARD_FOLDER_CREATED",
	DASHBOARD_FOLDER_CREATE_FAILURE: "DASHBOARD_FOLDER_CREATE_FAILURE",
	DASHBOARD_FOLDER_UPDATED: "DASHBOARD_FOLDER_UPDATED",
	DASHBOARD_FOLDER_UPDATE_FAILURE: "DASHBOARD_FOLDER_UPDATE_FAILURE",
	DASHBOARD_FOLDER_DELETED: "DASHBOARD_FOLDER_DELETED",
	DASHBOARD_FOLDER_DELETE_FAILURE: "DASHBOARD_FOLDER_DELETE_FAILURE",
	DASHBOARD_CREATED: "DASHBOARD_CREATED",
	DASHBOARD_CREATE_FAILURE: "DASHBOARD_CREATE_FAILURE",
	DASHBOARD_UPDATED: "DASHBOARD_UPDATED",
	DASHBOARD_UPDATE_FAILURE: "DASHBOARD_UPDATE_FAILURE",
	DASHBOARD_DELETED: "DASHBOARD_DELETED",
	DASHBOARD_DELETE_FAILURE: "DASHBOARD_DELETE_FAILURE",
	DASHBOARD_SET_MAIN_DASHBOARD: "DASHBOARD_SET_MAIN_DASHBOARD",
	DASHBOARD_SET_MAIN_DASHBOARD_FAILURE: "DASHBOARD_SET_MAIN_DASHBOARD_FAILURE",
	DASHBOARD_TOGGLE_PINNED: "DASHBOARD_TOGGLE_PINNED",
	DASHBOARD_TOGGLE_PINNED_FAILURE: "DASHBOARD_TOGGLE_PINNED_FAILURE",
	DASHBOARD_IMPORT_SUCCESS: "DASHBOARD_IMPORT_SUCCESS",
	DASHBOARD_IMPORT_FAILURE: "DASHBOARD_IMPORT_FAILURE",

	LIST_DASHBOARDS_PAGE_VISITED: "LIST_DASHBOARDS_PAGE_VISITED",
	EXPLORE_DASHBOARDS_PAGE_VISITED: "EXPLORE_DASHBOARDS_PAGE_VISITED",
	LIST_WIDGETS_PAGE_VISITED: "LIST_WIDGETS_PAGE_VISITED",
};

export const SERVER_EVENTS = {
	// Prompt
	PROMPT_SDK_FETCH_SUCCESS: "PROMPT_SDK_FETCH_SUCCESS",
	PROMPT_SDK_FETCH_FAILURE: "PROMPT_SDK_FETCH_FAILURE",
	// Vault
	VAULT_SECRET_SDK_FETCH_SUCCESS: "VAULT_SECRET_SDK_FETCH_SUCCESS",
	VAULT_SECRET_SDK_FETCH_FAILURE: "VAULT_SECRET_SDK_FETCH_FAILURE",
	// Evaluation
	EVALUATION_AUTO_SUCCESS: "EVALUATION_AUTO_SUCCESS",
	EVALUATION_AUTO_FAILURE: "EVALUATION_AUTO_FAILURE",

	// Custom dashboard
	FOLDER_CREATE_SUCCESS: "FOLDER_CREATE_SUCCESS",
	FOLDER_CREATE_FAILURE: "FOLDER_CREATE_FAILURE",
	FOLDER_UPDATE_SUCCESS: "FOLDER_UPDATE_SUCCESS",
	FOLDER_UPDATE_FAILURE: "FOLDER_UPDATE_FAILURE",
	FOLDER_GET_SUCCESS: "FOLDER_GET_SUCCESS",
	FOLDER_GET_FAILURE: "FOLDER_GET_FAILURE",
	FOLDER_DELETE_SUCCESS: "FOLDER_DELETE_SUCCESS",
	FOLDER_DELETE_FAILURE: "FOLDER_DELETE_FAILURE",
	FOLDER_GET_HEIRARCHY_SUCCESS: "FOLDER_GET_HEIRARCHY_SUCCESS",
	FOLDER_GET_HEIRARCHY_FAILURE: "FOLDER_GET_HEIRARCHY_FAILURE",

	DASHBOARD_CREATE_SUCCESS: "DASHBOARD_CREATE_SUCCESS",
	DASHBOARD_CREATE_FAILURE: "DASHBOARD_CREATE_FAILURE",
	DASHBOARD_UPDATE_SUCCESS: "DASHBOARD_UPDATE_SUCCESS",
	DASHBOARD_UPDATE_FAILURE: "DASHBOARD_UPDATE_FAILURE",
	DASHBOARD_GET_SUCCESS: "DASHBOARD_GET_SUCCESS",
	DASHBOARD_GET_FAILURE: "DASHBOARD_GET_FAILURE",
	DASHBOARD_GET_MAIN_SUCCESS: "DASHBOARD_GET_MAIN_SUCCESS",
	DASHBOARD_GET_MAIN_FAILURE: "DASHBOARD_GET_MAIN_FAILURE",
	DASHBOARD_IMPORT_SUCCESS: "DASHBOARD_IMPORT_SUCCESS",
	DASHBOARD_IMPORT_FAILURE: "DASHBOARD_IMPORT_FAILURE",
	DASHBOARD_DELETE_SUCCESS: "DASHBOARD_DELETE_SUCCESS",
	DASHBOARD_DELETE_FAILURE: "DASHBOARD_DELETE_FAILURE",
	DASHBOARD_TOGGLE_MAIN_SUCCESS: "DASHBOARD_TOGGLE_MAIN_SUCCESS",
	DASHBOARD_TOGGLE_MAIN_FAILURE: "DASHBOARD_TOGGLE_MAIN_FAILURE",
	DASHBOARD_TOGGLE_PINNED_SUCCESS: "DASHBOARD_TOGGLE_PINNED_SUCCESS",
	DASHBOARD_TOGGLE_PINNED_FAILURE: "DASHBOARD_TOGGLE_PINNED_FAILURE",
	DASHBOARD_PATCH_FAILURE: "DASHBOARD_PATCH_FAILURE",
	DASHBOARD_LAYOUT_UPDATE_SUCCESS: "DASHBOARD_LAYOUT_UPDATE_SUCCESS",
	DASHBOARD_LAYOUT_UPDATE_FAILURE: "DASHBOARD_LAYOUT_UPDATE_FAILURE",
	DASHBOARD_LAYOUT_GET_SUCCESS: "DASHBOARD_LAYOUT_GET_SUCCESS",
	DASHBOARD_LAYOUT_GET_FAILURE: "DASHBOARD_LAYOUT_GET_FAILURE",
	DASHBOARD_LAYOUT_EXPORT_SUCCESS: "DASHBOARD_LAYOUT_EXPORT_SUCCESS",
	DASHBOARD_LAYOUT_EXPORT_FAILURE: "DASHBOARD_LAYOUT_EXPORT_FAILURE",
	DASHBOARD_QUERY_RUN_SUCCESS: "DASHBOARD_QUERY_RUN_SUCCESS",
	DASHBOARD_QUERY_RUN_FAILURE: "DASHBOARD_QUERY_RUN_FAILURE",
	DASHBOARD_WIDGET_DELETE_SUCCESS: "DASHBOARD_WIDGET_DELETE_SUCCESS",
	DASHBOARD_WIDGET_DELETE_FAILURE: "DASHBOARD_WIDGET_DELETE_FAILURE",
	DASHBOARD_WIDGET_GET_SUCCESS: "DASHBOARD_WIDGET_GET_SUCCESS",
	DASHBOARD_WIDGET_GET_FAILURE: "DASHBOARD_WIDGET_GET_FAILURE",
	DASHBOARD_WIDGET_UPDATE_SUCCESS: "DASHBOARD_WIDGET_UPDATE_SUCCESS",
	DASHBOARD_WIDGET_UPDATE_FAILURE: "DASHBOARD_WIDGET_UPDATE_FAILURE",
	DASHBOARD_WIDGET_CREATE_SUCCESS: "DASHBOARD_WIDGET_CREATE_SUCCESS",
	DASHBOARD_WIDGET_CREATE_FAILURE: "DASHBOARD_WIDGET_CREATE_FAILURE",
	DASHBOARD_WIDGET_LIST_SUCCESS: "DASHBOARD_WIDGET_LIST_SUCCESS",
	DASHBOARD_WIDGET_LIST_FAILURE: "DASHBOARD_WIDGET_LIST_FAILURE",
};
